package com.usian.kotlin
class MyTwoKotlin{
    var list= arrayListOf<Int>(1,2,3)
    var ac= intArrayOf(5,6,9,7)
    var list1 : List<Int> = listOf(6,5)

fun get1(){
    var string="$ac:ss${ac.size}"
    print(string)

}
}
fun main(){
  val listOf = listOf<Int>()
    var m = mutableListOf<String>("999","1111")
    m.add("888")
    println(m[1])
    val any = mutableListOf<Any>()
    any.add(7)
    any.add("ss")
    val some= mutableListOf<Any>(5,8,9)
   // any[1] = '7'
    any.addAll(some)
    any.removeAt(1)
    for (s in any.indices){
        println("${any[s]}")
    }
    for (i in any.indices) {
println("$i:${any[i]}")
    }
}